home *** CD-ROM | disk | FTP | other *** search
- /* EditMenu Handle this menu list */
-
- /* Unit name: EditMenu.c */
- /* Function: Handle this specific menu list. */
- /* History: 5/9/91 Original by Prototyper 3.0 */
-
-
-
- #include "PCommonTextMaster.h" /* Common */
- #include "Common_TextMaster.h" /* Common */
- #include "PUtils_TextMaster.h" /* General Utilities */
- #include "Utils_TextMaster.h" /* General Utilities */
-
- #include "EditMenu.h" /* This file */
-
-
- /* ======================================================= */
-
-
- /* Routine: Do_EditMenu */
- /* Purpose: Handle any menu items in this list specially. */
- /* Get the main handler to ignore this menu item by changing */
- /* SkipProcessing to be TRUE. */
- /* This routine is called before the main handler does anything */
- /* when Doing_Pre is TRUE, it is called after the main handler */
- /* again with Doing_Pre equal to FALSE. */
-
- void Do_EditMenu( Doing_Pre, theItem, SkipProcessing) /* Handle this menu selection */
- Boolean Doing_Pre;
- short theItem;
- Boolean *SkipProcessing;
- {
-
-
- *SkipProcessing = FALSE; /* Set to not skip the processing of this menu item */
-
- switch (theItem) /* Handle all commands in this menu list */
- {
-
- case MItem_Undo:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- case MItem_Cut:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- case MItem_Copy:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- case MItem_Paste:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- case MItem_Clear:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- case MItem_Select_All:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- case MItem_Show_Clipboard:
- if (Doing_Pre == TRUE)
- {
- }
- else
- {
- }
- break;
-
- default:
- break;
-
- } /* End of item case */
-
- } /* End of procedure */
-
-
- /* ======================================================= */
-
-
-